package com.example.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.pojo.Admin;
import com.example.blog.pojo.LoginRequest;
import com.example.blog.pojo.Result;

import javax.servlet.http.HttpServletResponse;

public interface AdminService extends IService<Admin> {
    Result login(LoginRequest loginRequest, HttpServletResponse response);

    Admin getByPassword(String password);
}
